<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=11,IE=10,IE=9,IE=8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" />
    <meta http-equiv="Cache-Control" content="no-transform" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <title>python3中文在线教程</title>
    <link rel="dns-prefetch" href="//s.w.org" />
    <link rel="stylesheet" id="main-css" href="http://code.py40.com/python3/wp-content/themes/xiu_5.3_jiaocheng/style.css?ver=5.3" type="text/css" media="all" />
    <script type="text/javascript" src="http://code.py40.com/python3/wp-content/themes/xiu_5.3_jiaocheng/js/jquery.js?ver=5.3"></script>
    <link rel="https://api.w.org/" href="http://code.py40.com/python3/wp-json/" />
    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://code.py40.com/python3/xmlrpc.php?rsd" />
    <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://code.py40.com/python3/wp-includes/wlwmanifest.xml" />
    <link rel="canonical" href="http://code.py40.com/python3/" />
    <link rel="shortlink" href="http://code.py40.com/python3/" />
    <link rel="alternate" type="application/json+oembed" href="http://code.py40.com/python3/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fcode.py40.com%2Fpython3%2F" />
    <link rel="alternate" type="text/xml+oembed" href="http://code.py40.com/python3/wp-json/oembed/1.0/embed?url=http%3A%2F%2Fcode.py40.com%2Fpython3%2F&amp;format=xml" />
    <style>a:hover, a:focus,.post-like.actived,.excerpt h2 a:hover,.user-welcome strong,.article-title a:hover,#comments b,.text-muted a:hover,.relates a:hover,.archives .item:hover h3,.linkcat h2,.sticky a:hover,.article-content a:hover,.nav li.current-menu-item > a, .nav li.current-menu-parent > a, .nav li.current_page_item > a, .nav li.current-posa,.article-meta a:hover,.excerpt h2 a span,.article-title a span,.most-comment-posts li > a span,.widget_postlist .items-01 .text span{color:#16C0F8;}.logo a,.article-tags a,.search-form .btn,#bdcs .bdcs-search-form-submit,.widget_tags_inner a:hover:hover,.focusmo a:hover h4,.tagslist .tagname:hover,.pagination ul > li.next-page > a{background-color:#16C0F8;}.label-important,.badge-important{background-color:#16C0F8;}.label-important .label-arrow,.badge-important .label-arrow{border-left-color:#16C0F8;}.title strong{border-bottom-color:#16C0F8;}#submit{background: #16C0F8;border-right: 2px solid #16C0F8;border-bottom: 2px solid #16C0F8;}@media (max-width:720px){.ui-navtop .logo, .logo{background-color:#16C0F8;}.nav li.current-menu-item > a, .nav li.current-menu-parent > a, .nav li.current_page_item > a, .nav li.current-post-ancestor > a{border-bottom-color:#16C0F8;}}</style>
    <meta name="description" content="Python3 中文在线教程 Date:	2017 年 6 月 13 日  Python 是一门简单易学且功能强大的编程语言，因为他的开源性质，现在有很多Pyt" />
    <link rel="shortcut icon" href="http://code.py40.com/python3/favicon.ico" />
    <!--[if lt IE 9]><script src="http://code.py40.com/python3/wp-content/themes/xiu_5.3_jiaocheng/js/html5.js"></script><![endif]-->
</head>
<body class="home page-template-default page page-id-13 uimo ui-c2">
<section class="container">
    <header class="header">
        <div class="wy-side-scroll">
            <a href="http://code.py40.com/python3" class="header_home">python3中文在线教程</a>
            <span class="glyphicon glyphicon-search m-search"></span>
            <ul class="nav">
                <li class="navmore"></li>
                <li id="menu-item-55" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-55"><a href="http://code.py40.com/python3/16.html">【第一节】Python简介</a></li>
                <li id="menu-item-59" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-59"><a href="http://code.py40.com/python3/18.html">【第二节】Python开发环境搭建</a></li>
                <li id="menu-item-57" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-57"><a href="http://code.py40.com/python3/20.html">【第三节】Python基础语法</a></li>
                <li id="menu-item-72" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-72"><a href="http://code.py40.com/python3/22.html">【第四节】 Python变量</a></li>
                <li id="menu-item-60" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-60"><a href="http://code.py40.com/python3/24.html">【第五节】Python运算符</a></li>
                <li id="menu-item-62" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-62"><a href="http://code.py40.com/python3/26.html">【第六节】Python数字(Number)</a></li>
                <li id="menu-item-56" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-56"><a href="http://code.py40.com/python3/28.html">【第七节】Python字符串</a></li>
                <li id="menu-item-61" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-61"><a href="http://code.py40.com/python3/30.html">【第八节】Python列表</a></li>
                <li id="menu-item-58" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-58"><a href="http://code.py40.com/python3/32.html">【第九节】Python元组</a></li>
                <li id="menu-item-71" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-71"><a href="http://code.py40.com/python3/34.html">【第十节】Python集合</a></li>
                <li id="menu-item-63" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-63"><a href="http://code.py40.com/python3/36.html">【第十一节】Python字典</a></li>
                <li id="menu-item-66" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-66"><a href="http://code.py40.com/python3/38.html">【第十二节】Python条件语句</a></li>
                <li id="menu-item-65" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-65"><a href="http://code.py40.com/python3/40.html">【第十三节】Python循环</a></li>
                <li id="menu-item-70" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-70"><a href="http://code.py40.com/python3/42.html">【第十四节】Python函数</a></li>
                <li id="menu-item-67" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-67"><a href="http://code.py40.com/python3/44.html">【第十五节】Python输入和输出</a></li>
                <li id="menu-item-69" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-69"><a href="http://code.py40.com/python3/46.html">【第十六节】Python文件操作</a></li>
                <li id="menu-item-64" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-64"><a href="http://code.py40.com/python3/48.html">【第十七节】Python模块</a></li>
                <li id="menu-item-68" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-68"><a href="http://code.py40.com/python3/50.html">【第十八节】Python错误和异常</a></li>
            </ul>
        </div>
    </header>
    <div class="content-wrap">
        <div class="content">
            <h1 class="title"><strong><a href="http://code.py40.com/python3/">Python3中文在线教程</a></strong></h1>
            <article class="article-content">
                <p>Python3 中文在线教程<br /> Date: 2017 年 6 月 13 日</p>
                <p>Python 是一门简单易学且功能强大的编程语言，因为他的开源性质，现在有很多Python的第三方类库。所以使用起来非常方便，被称为最优雅的编程语言。</p>
                <p>Python 它拥有高效的高级数据结构，并且能够用简单而又高效的方式进行面向对象编程。Python 优雅的语法和动态类型，再结合它的解释性，使其在大多数平台的许多领域成为编写脚本或开发应用程序的理想语言。</p>
                <p>Python 官方网站: <a href="http://www.python.org" target="_blank">http://www.python.org</a></p>
                <p>本手册向读者介绍了 Python 语言及其体系相关的基本知识与概念。在学习实践中结合使用 Python 解释器是很有帮助的。</p>
            </article>
        </div>
    </div>
    <footer class="footer">
        &copy; 2018
        <a href="http://code.py40.com/python3">python3中文在线教程</a> &nbsp; 本站主题由
        <a href="http://py40.com" target="_blank">http://py40.com</a> 提供 &nbsp;
        <div class="top25">
            python3中文在线教程
            <span id="span_dt_dt"></span>
        </div>
        <script>
            function show_date_time() {
                window.setTimeout("show_date_time()", 1000);
                BirthDay = new Date("9/1/2016 00:00:01");
                today = new Date();
                timeold = (today.getTime() - BirthDay.getTime());
                sectimeold = timeold / 1000
                secondsold = Math.floor(sectimeold);
                msPerDay = 24 * 60 * 60 * 1000
                e_daysold = timeold / msPerDay
                daysold = Math.floor(e_daysold);
                e_hrsold = (e_daysold - daysold) * 24;
                hrsold = Math.floor(e_hrsold);
                e_minsold = (e_hrsold - hrsold) * 60;
                minsold = Math.floor((e_hrsold - hrsold) * 60);
                seconds = Math.floor((e_minsold - minsold) * 60);
                span_dt_dt.innerHTML = "已运行： " + daysold + "天 " + hrsold + "小时 " + minsold + "分 " + seconds + "秒 " +" 未来的日子我陪你一起走过";
            }
            show_date_time();
        </script>
    </footer>
</section>
<script>
    window.jui = {
        uri: 'http://code.py40.com/python3/wp-content/themes/xiu_5.3_jiaocheng',
        roll: '1 2',
        ajaxpager: '0'
    }
</script>
<script type="text/javascript" src="http://code.py40.com/python3/wp-content/themes/xiu_5.3_jiaocheng/js/bootstrap.js?ver=5.3"></script>
<script type="text/javascript" src="http://code.py40.com/python3/wp-content/themes/xiu_5.3_jiaocheng/js/custom.js?ver=5.3"></script>
<script type="text/javascript" src="http://code.py40.com/python3/wp-includes/js/wp-embed.min.js?ver=4.7.10"></script>
</body>
</html>